
package com.ruoyi.client.pojo.form;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 添加购物项
 */
@Data
public class CartAddForm {

    @NotNull(message = "商品id不能为空")
    private Long productId;

    @NotNull(message = "商品数量不能为空")
    private Long count;
}
